{% extends 'Shared/layout.volt' %}
{% block title %}分组详情 - 分组管理{% endblock %}
{% block content %}
    <section class="Hui-article-box">
        <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i>
            <a href="/" title="首页">首页</a>
            <span class="c-gray en">&gt;</span>
            开放API
            <span class="c-gray en">&gt;</span>
            分组管理
            <span class="c-gray en">&gt;</span>
            分组详情
            <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
        </nav>
        <div class="Hui-article">
            <article class="cl pd-20">
                <div class="cl pd-5 bg-1 bk-gray mt-20">
                    <span class="l">
                        <a href="{{ url('group/list') }}" id="add-group-button" class="btn btn-default radius"><i class="fa fa-level-up" aria-hidden="true"></i> 返回分组列表</a> </span>
                </div>
                <table class="table table-border table-bordered table-bg mt-20 table-large">
                    <thead>
                    <tr>
                        <th colspan="4" scope="col">基本信息</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td width="25%"><span class="console-grey">名称：</span>{{ Model.group_name }}</td>
                        <td width="25%"><span class="console-grey">编号：</span>{{ Model.group_code }}</td>
                        <td width="25%"><span class="console-grey">状态：</span>
                            {% if Model.status == 0 %}
                                <span class="label label-success radius">已启用</span>
                            {% else %}
                                <span class="label label-danger radius">已禁用</span>
                            {% endif %}
                        </td>
                        <td width="25%"><span class="console-grey">流量控制(QPS)：</span>{{ Model.traffic_value }}</td>
                    </tr>
                    <tr>
                        <td width="25%"><span class="console-grey">用户：</span>{{ User.account }}</td>
                        <td width="25%"><span class="console-grey">创建时间：</span>{{ Model.create_at }}</td>
                        <td width="25%"><span class="console-grey">修改时间：</span>{{ Model.update_at }}</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td colspan="4"><span class="console-grey">描述：</span>{{ Model.description }}</td>
                    </tr>
                    </tbody>
                </table>
            </article>
        </div>
    </section>

{% endblock %}